<template>
<div class="app-container">
    dsds
       <editor
       api-key="no-api-key"
       :init="{
         height: 500,
         menubar: false,
         plugins: [
           'advlist autolink lists link image charmap print preview anchor',
           'searchreplace visualblocks code fullscreen',
           'insertdatetime media table paste code help wordcount'
         ],
         toolbar:
           'undo redo | formatselect | bold italic backcolor | \
           alignleft aligncenter alignright alignjustify | \
           bullist numlist outdent indent | removeformat | help'
       }"
     />
</div>
</template>

<script setup name="email">
 import Editor from '@tinymce/tinymce-vue'

// const state = reactive({
//   content: 'hello vue3-tinymce!',
//   // editor 配置项
//   setting: {
//     height: 400, // editor 高度
//   },
// });
</script>
<style lang="scss">

</style>
